package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

//    List<Student> queryStudentList(StudentQueryParam studentQueryParam);
//
//    Integer addStudent(Student student);
//
//    Student queryStudentById(Integer id);
//
//    Integer updateStudent(Student student);
//
//    Integer deleteStudentByIds(List<Integer> ids);
//
    void updateViolationStu(@Param("id") Integer id, @Param("violationScore") int violationScore, @Param("violationCount") int violationCount, @Param("updateTime")LocalDateTime updateTime);
}
